//查询话题列表
export const topicTypeList = (params) => wx.http.get('/chat/topicType/topicTypeList', params)
//添加新话题
export const addTopicType = (data) => wx.http.post('/chat/topicType/addTopicType', data)
//查询话题列表排行榜
export const topicTypeTopN = (params) => wx.http.get('/chat/topicType/topicTypeTopN', params)
//查询热门话题列表
export const hotTopic = (params) => wx.http.get('/chat/topic/hotTopic', params)
//查询热门话题帖子
export const hotTopicList = (params) => wx.http.get('/chat/topic/hotTopicList', params)
//查询话题详情
export const getTopicType = (params) => wx.http.get('/chat/topicType/getTopicType', params)
//关注话题
export const follow = (params) => wx.http.get('/chat/topicType/follow', params)
//取消关注话题
export const cancelFollow = (params) => wx.http.get('/chat/topicType/cancelFollow', params)
//话题转发
export const forward = (topicType) => wx.http.get('/chat/topicType/forward', {
  topicType
})
//获取话题贡献度排行榜
export const contributionUserList = (params) => wx.http.get('/chat/topicType/getContributionUserList', params)